package com.withoutwords.ui.custom;

import com.withoutwords.engine.Common;

import android.content.Context;
import android.graphics.Color;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.CheckedTextView;

public class CustomCheckedTextView extends CheckedTextView {
	private static float customFontSize = 34;
	public CustomCheckedTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		init();

	}

	public CustomCheckedTextView(Context context) {
		super(context);
		init();

	}

	void init() {
		// TODO Auto-generated method stub
		this.setTypeface(Common.getTypeface(getContext()),Typeface.BOLD);
		float newTextSize = Common.adjustTextSize(customFontSize, getContext());
		this.setTextSize(newTextSize);
		this.setTextColor(Color.parseColor("#FFFFFFFF"));
		
	}
}
